//
//  MoveConstructorMoveAssignment.cpp
//  learnC++
//
//  Created by liuzhibing on 2018/6/26.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#include "MoveConstructorMoveAssignment.hpp"
AutoPtr3<Resource3> generateResource(){
    AutoPtr3<Resource3> res(new Resource3);
    return res; // this return value will invoke the copy constructor(在该编译器下被隐藏了)
}
